
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class BoxFile extends org.xteam.parser.runtime.AstNode {
	
	
	protected Ident importName;
	protected org.xteam.parser.runtime.AstList<Rule> rules;
	
	public BoxFile(Span span, Ident importName,org.xteam.parser.runtime.AstList<Rule> rules) {
		super(span);
		this.importName = importName;
		this.rules = rules;
	}
	
	
	public Ident getImportName() {
		return importName;
	}
	
	public void setImportName(Ident importName) {
		this.importName = importName;
	}
	
	public org.xteam.parser.runtime.AstList<Rule> getRules() {
		return rules;
	}
	
	public void setRules(org.xteam.parser.runtime.AstList<Rule> rules) {
		this.rules = rules;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitBoxFile(this);
	}
}
